﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="list.aspx.cs" Inherits="GDIT.page.manage.notice.list" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.1, Version=11.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>

<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>通知公告列表</title>
    <link href="../../../css/m_list.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div id="all">



<div>

<dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" 
        Width="700px" onpageindexchanged="ASPxGridView1_PageIndexChanged" 
        onrowdeleting="ASPxGridView1_RowDeleting">
    <Columns>
        <dx:GridViewDataComboBoxColumn Caption="发布人" FieldName="Publisher.OID" VisibleIndex="1">
            <PropertiesComboBox ValueType="System.String">
            </PropertiesComboBox>
            <FooterCellStyle ForeColor="#000F00">
            </FooterCellStyle>
        </dx:GridViewDataComboBoxColumn>
        <dx:GridViewDataColumn Caption=' ' FieldName='IsVisible' VisibleIndex="1">
            <FooterCellStyle ForeColor="#f00" />
        </dx:GridViewDataColumn>
        <dx:GridViewDataColumn Caption='是否重点显示' FieldName='Important' VisibleIndex="1">
            <FooterCellStyle ForeColor="#f00" />
        </dx:GridViewDataColumn>
        <dx:GridViewDataColumn Caption='是否内部显示' FieldName='Internal' VisibleIndex="1">
            <FooterCellStyle ForeColor="#f00" />
        </dx:GridViewDataColumn>
        <dx:GridViewDataColumn Caption='被浏览数' FieldName='Counter' VisibleIndex="1">
            <FooterCellStyle ForeColor="#f00" />
        </dx:GridViewDataColumn>
        <dx:GridViewDataColumn Caption='是否置顶' FieldName='Top' VisibleIndex="1">
            <FooterCellStyle ForeColor="#f00" />
        </dx:GridViewDataColumn>
        <dx:GridViewDataColumn Caption='发布时间' FieldName='PublishDate' VisibleIndex="1">
            <FooterCellStyle ForeColor="#f00" />
        </dx:GridViewDataColumn>
        <dx:GridViewCommandColumn Caption="操 作">
            <DeleteButton Visible="true" Text="删除">
            </DeleteButton>
        </dx:GridViewCommandColumn>
        <dx:GridViewDataDateColumn Caption="编 辑">
            <DataItemTemplate>
                <a href='preview.aspx?type=bulletin&id=<%#DataBinder.Eval(Container.DataItem, "OID") %>'>编辑</a>
            </DataItemTemplate>
        </dx:GridViewDataDateColumn>
        <dx:GridViewDataTextColumn Caption="公告标题" FieldName="Title" VisibleIndex="0">
        </dx:GridViewDataTextColumn>
    </Columns>
    <SettingsBehavior AllowFocusedRow="True" ConfirmDelete="True" />
    <Settings ShowHeaderFilterButton="True" />
    <SettingsText CommandDelete="确定要删除吗？" />
    <Styles>
        <Table>
            <Border BorderStyle="None" />
        </Table>
        <Header>
            <Border BorderStyle="None" />
        </Header>
        <Cell>
            <Border BorderStyle="None" />
        </Cell>
    </Styles>
    <Border BorderStyle="None" />
</dx:ASPxGridView>

</div>

</div>
</form>
</body>
</html>
